﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Examine
{
    public interface IQcProjectClassifyServices
    {
        //查询所有数据
        public Task<IEnumerable<QcProjectClassify>> GetAllAsync();
        //public Task<IEnumerable<QcProjectClassify>> GetAsync(string ProjectCode, string ProjectName);
        //查询分页数据
        public Task<IEnumerable<QcProjectClassify>> GetAsync(string ProjectCode, string ProjectName);
        //修改
        public Task<bool> UpdateAsync(QcProjectClassify model);
        //新增
        public Task<bool> AddAsync(QcProjectClassify model);
        //批量删除
        public Task<bool> DeleteAsync(int[] Ids);
        //删除
        public Task<bool> DeleteAsync(int Id);
    }
}

